
<%@include file="/WebPages/Includes/header.jsp"%>

<button class="btn btn-primary btn-lg" data-target="#myInsertModal"
	data-toggle="modal">Create Moderator</button>

<button class="btn btn-danger btn-lg" data-target="#myConfirmModal"
	data-toggle="modal" id="deleteSelectedRows">Delete Selected</button>

<div class="table-responsive">
	<table class="table form-fields table-striped" id="mytable">
		<tr>
			<th><input id="chkall" name="chkall" type="checkbox" /></th>
			<th>Code</th>
			<th>FirstName</th>
			<th>Email</th>
			<th>School Code</th>
			<th>Update</th>
			<th>Delete</th>
		</tr>
	</table>
</div>

<!-- Insert Modal -->
<div aria-hidden="true" aria-labelledby="myInsertModalLabel"
	class="modal fade" id="myInsertModal" role="dialog" tabindex="-1">
	<div class="modal-dialog">
		<div class="modal-content">
			<div class="modal-header">
				<button aria-hidden="true" class="close" data-dismiss="modal"
					type="button">&times;</button>
				<h4 class="modal-title" id="myInsertModalLabel">Create
					Admin</h4>
			</div>
			<div class="modal-body">
				<form id="insertForm" method="post" name="insertForm" role="form">
					<div class="form-group">
						<label class="control-label" for="aaCode">Code</label> <input
							class="form-control" id="aaCode" name="aaCode" placeholder="Code"
							type="text" />
					</div>

					<div class="form-group">
						<label class="control-label" for="admFname">First Name</label> <input
							class="form-control" id="admFname" name="admFname"
							placeholder="First Name" type="text" />
					</div>
					<div class="form-group">
						<label class="control-label" for="admMname">Middle Name</label> <input
							class="form-control" id="admMname"
							placeholder="Class Description" name="admMname" type="text" />
					</div>
					<div class="form-group">
						<label class="control-label" for="admLname">Last Name</label> <input
							class="form-control" id="admLname"
							placeholder="Class Description" name="admLname" type="text" />
					</div>
					<div class="form-group">
						<label class="control-label" for="admAddress">Address</label> <input
							class="form-control" id="admAddress"
							placeholder="Class Description" name="admAddress" type="text" />
					</div>
					<div class="form-group">
						<label class="control-label" for="admCity">City</label> <input
							class="form-control" id="admCity" placeholder="Class Description"
							name="admCity" type="text" />
					</div>
					<div class="form-group">
						<label class="control-label" for="admState">State</label> <input
							class="form-control" id="admState"
							placeholder="Class Description" name="admState" type="text" />
					</div>
					<div class="form-group">
						<label class="control-label" for="admCountry">Country</label> <input
							class="form-control" id="admCountry"
							placeholder="Class Description" name="admCountry" type="text" />
					</div>
					<div class="form-group">
						<label class="control-label" for="admPin">Pin</label> <input
							class="form-control" id="admPin" placeholder="Class Description"
							name="admPin" type="text" />
					</div>
					<div class="form-group">
						<label class="control-label" for="admEmail">Email</label> <input
							class="form-control" id="admEmail"
							placeholder="Class Description" name="admEmail" type="text" />
					</div>
					<div class="form-group">
						<label class="control-label" for="admCurrentSchool">CurrentSchool</label>
						<input class="form-control" id="admCurrentSchool"
							placeholder="Class Description" name="admCurrentSchool"
							type="text" />
					</div>
					<div class="form-group">
						<label class="control-label" for="admLastSchool">LastSchool</label>
						<input class="form-control" id="admLastSchool"
							placeholder="Class Description" name="admLastSchool"
							type="text" />
					</div>
					<div class="modal-footer">
						<button class="btn btn-default" data-dismiss="modal" type="button">Close</button>
						<button class="btn btn-primary" id="insertModeratorDetails"
							type="submit">Create Moderator Details</button>
					</div>
				</form>
			</div>
		</div>
	</div>
</div>


<!-- Update Modal -->
<div aria-hidden="true" aria-labelledby="myModalLabel"
	class="modal fade" id="myUpdateModal" role="dialog" tabindex="-1">
	<div class="modal-dialog">
		<div class="modal-content">
			<div class="modal-header">
				<button aria-hidden="true" class="close" data-dismiss="modal"
					type="button">&times;</button>
				<h4 class="modal-title" id="myModalLabel">Update Master Class</h4>
			</div>
			<div class="modal-body">
				<form id="updateForm" method="post">
					<div class="form-group">
						<label class="control-label" for="aaCode">Code</label> <input
							class="form-control" id="uaaCode" name="aaCode"
							placeholder="Code" type="text" />
					</div>
					<div class="form-group">
						<label class="control-label" for="admFname">First Name</label> <input
							class="form-control" id="uadmFname" name="admFname"
							placeholder="First Name" type="text" />
					</div>
					<div class="form-group">
						<label class="control-label" for="admMname">Middle Name</label> <input
							class="form-control" id="uadmMname"
							placeholder="Class Description" name="admMname" type="text" />
					</div>
					<div class="form-group">
						<label class="control-label" for="admLname">Last Name</label> <input
							class="form-control" id="uadmLname"
							placeholder="Class Description" name="admLname" type="text" />
					</div>
					<div class="form-group">
						<label class="control-label" for="admAddress">Address</label> <input
							class="form-control" id="uadmAddress"
							placeholder="Class Description" name="admAddress" type="text" />
					</div>
					<div class="form-group">
						<label class="control-label" for="admCity">City</label> <input
							class="form-control" id="uadmCity"
							placeholder="Class Description" name="admCity" type="text" />
					</div>
					<div class="form-group">
						<label class="control-label" for="admState">State</label> <input
							class="form-control" id="uadmState"
							placeholder="Class Description" name="admState" type="text" />
					</div>
					<div class="form-group">
						<label class="control-label" for="admCountry">Country</label> <input
							class="form-control" id="uadmCountry"
							placeholder="Class Description" name="admCountry" type="text" />
					</div>
					<div class="form-group">
						<label class="control-label" for="admPin">Pin</label> <input
							class="form-control" id="uadmPin" placeholder="Class Description"
							name="admPin" type="text" />
					</div>
					<div class="form-group">
						<label class="control-label" for="admEmail">Email</label> <input
							class="form-control" id="uadmEmail"
							placeholder="Class Description" name="admEmail" type="text" />
					</div>
					<div class="form-group">
						<label class="control-label" for="admCurrentSchool">mdrCurrentSchoolCode</label>
						<input class="form-control" id="uadmCurrentSchool"
							placeholder="Class Description" name="admCurrentSchool"
							type="text" />
					</div>
					<div class="form-group">
						<label class="control-label" for="admLastSchool">mdrCurrentSchoolCode</label>
						<input class="form-control" id="uadmLastSchool"
							placeholder="Class Description" name="admLastSchool"
							type="text" />
					</div>
					<div class="form-group">
						<label class="control-label" for="createdBy">Created By</label> <input
							class="form-control" id="ucreatedBy"
							placeholder="Class Description" name="createdBy" type="text" />
					</div>
					<div class="form-group">
						<label class="control-label" for="createdDate">Created By</label>
						<input class="form-control" id="ucreatedDate"
							placeholder="Class Description" name="createdDate" type="text" />
					</div>
					<div class="form-group">
						<label class="control-label" for="modifiedBy">Modified By</label>
						<input class="form-control" id="umodifiedBy"
							placeholder="Class Description" name="modifiedBy" type="text" />
					</div>
					<div class="form-group">
						<label class="control-label" for="modifiedDate">Modified
							Date</label> <input class="form-control" id="umodifiedDate"
							placeholder="Class Description" name="modifiedDate" type="text" />
					</div>
					<div class="modal-footer">
						<button class="btn btn-default" data-dismiss="modal" type="button">Close</button>
						<button class="btn btn-primary" id="updateModeratorDetails"
							type="submit">Update</button>
					</div>
				</form>
			</div>
		</div>
	</div>
</div>


<!-- Confirm Modal -->
<div aria-hidden="true" aria-labelledby="myConfirmModalLabel"
	class="modal fade" id="myConfirmModal" role="dialog" tabindex="-1">
	<div class="modal-dialog">
		<div align="center" class="modal-content">
			<div class="modal-header">
				<h4 class="modal-title" id="myConfirmModalLabel">Are you sure?</h4>
			</div>
			<div class="modal-body">
				<button class="btn btn-danger" id="confirmDelete" type="submit">Yes</button>
				<button class="btn btn-primary" id="cancelDelete" type="submit">No</button>
			</div>
		</div>
	</div>
</div>

<script src="./../../customJS/Admin/adminHome.js"></script>
